<?php

namespace App\Base\Annotation;

use Doctrine\Common\Annotations\Annotation;
/*
 * 记录实体信息，用于生成后台所需的参数，文本说明及API文档
 */

/**
 * @Annotation
 */
class EntityInfo implements \Doctrine\ORM\Mapping\Annotation
{
    public $name = "";//字段中文名
    public $cnName = "";//字段中文名

    public function setName($name)
    {
        $this->name = $name;
        return $this;
    }

    public function setCnName($cnName)
    {
        $this->cnName = $cnName;
        return $this;
    }
}
